  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=Edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta name="generator" content="{$zblogphp}">
{if $type=='article'}
  <title>{$title}_{$article.Category.Name}_{$name}</title>
  {php}
    foreach($article->Tags as $key){
      $aryTags[] = $key->Name;
    }
    $keywords = $title;
    if (isset($aryTags)) {
      if(count($aryTags)>0) $keywords = implode(',',$aryTags);
    }
    $description = preg_replace('/[\r\n\s]+/', ' ', trim(SubStrUTF8(TransferHTML($article->Content,'[nohtml]'),135)).'...');
  {/php}
  <meta name="keywords" content="{$keywords}"/>
  <meta name="description" content="{$description}"/>
  <meta name="author" content="{$article.Author.StaticName}">
{elseif $type=='page'}
  <title>{$title}_{$name}_{$subname}</title>
  <meta name="keywords" content="{$title},{$name}"/>
  {php}
    $description = preg_replace('/[\r\n\s]+/', ' ', trim(SubStrUTF8(TransferHTML($article->Content,'[nohtml]'),135)).'...');
  {/php}
  <meta name="description" content="{$description}"/>
  <meta name="author" content="{$article.Author.StaticName}">
{elseif $type=='index'}
  <title>{$name}{if $page>'1'}_第{$pagebar.PageNow}页{/if}_{$subname}</title>
  <meta name="keywords" content="{$zbp->Config('June')->KeyWords},{$name}">
  <meta name="description" content="{$zbp->Config('June')->description}_{$name}_{$title}">
  <meta name="author" content="{$zbp.members[1].Name}">
{else}
{php}
$title = preg_replace('/\s.+$/','',$title);
$fixTitle = "";
$fixDesc = "";
if (isset($pagebar)){
  $fixTitle = "_第{$pagebar->PageNow}页";
  $fixDesc = "_当前是第{$pagebar->PageNow}页";
}
{/php}
  <title>{$title}_{$name}{$fixTitle}</title>
  <meta name="keywords" content="{$title},{$name}">
  <meta name="description" content="{$title}_{$name}{$fixDesc}">
  <meta name="author" content="{$zbp.members[1].Name}">
{/if}
  <!--<link rel="shortcut icon" href="{$host}favicon.ico">-->
  <link href="{$host}zb_users/theme/{$theme}/common/bootstrap.min.css" rel="stylesheet" type="text/css">
  <link rel="stylesheet" rev="stylesheet" href="{$host}zb_users/theme/{$theme}/style/{$style}.css" type="text/css" media="all">
{if $type=='index'&&$page=='1'}
  <link rel="alternate" type="application/rss+xml" href="{$feedurl}" title="{$name}">
  <link rel="EditURI" type="application/rsd+xml" title="RSD" href="{$host}zb_system/xml-rpc/?rsd">
  <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="{$host}zb_system/xml-rpc/wlwmanifest.xml">
{/if}
  <link rel="canonical" href="{$zbp.fullcurrenturl}" />
  {$header}

